<!--
  描述：员工异动table页
  @author tanghongjun
  @since 2020-05-26 14:23:22
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--表格id与lay-filter属性一致，统一定义为zmn-table-->
<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <!--规定复选框列置于第1列，居中显示-->
        <th lay-data="{field:'createTime', unresize:true, align:'center'}">异动时间</th>
        <th lay-data="{field:'abutmenter', unresize:true, align:'center'}">操作人</th>
        <th lay-data="{field:'abutmenterDeptName', unresize:true, align:'center'}">所在部门</th>
        <th lay-data="{field:'changeType', unresize:true, align:'center'}">操作类型</th>
        <th lay-data="{field:'beforContent', unresize:true, align:'center'}">异动前信息</th>
        <th lay-data="{field:'afterContent', unresize:true, align:'center'}">异动后信息</th>
        <!--规定操作列置于最后-->
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td th:text="${T(com.zmn.common.utils.date.DateUtil).toString(item.createTime, 'yyyy-MM-dd HH:mm:ss')}">createTime</td>
        <td th:text="${item.abutmenter}">abutmenter</td>
        <td th:text="${item.abutmenterDeptName}">abutmenterDeptName</td>
        <td th:text="${T(com.zmn.plat.common.dictionary.StaffChangeLogDict).getChangeTypeName(item.changeType)}">changeType</td>
        <td th:text="${item.beforContent}">beforContent</td>
        <td th:text="${item.afterContent}">afterContent</td>
    </tr>
    </tbody>
</table>
